package com.ws.admin.donate.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ws.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 捐赠信息表
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Donate extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 求助id(捐赠到对应的求助)
     */
    private String helpId;

    /**
     * 捐赠类型
     */
    private String type;

    /**
     * 捐赠内容详情
     */
    private String content;

    /**
     * 捐赠人id
     */
    private String donatorId;

    /**
     * 审核结果(00待审核，01通过，02不通过)
     */
    private String auditResult;


    @TableField(exist = false)
    private String helpUserName;

    @TableField(exist = false)
    private String donatorUserName;

    //捐赠对象标题
    @TableField(exist = false)
    private String helpTitle;

    //捐赠数量
    @TableField(exist = false)
    private String donatorCount;
}
